package com.esun.common.exception;


/**
 * 基础异常类
 *
 * @author john.xiao
 * @date 2020/9/1 11:02
 */
public class BaseException extends Exception {
	private Object[] args;

	public BaseException() {
		super();
	}

	public BaseException(String msg) {
		super(msg);
	}

	public BaseException(String msg, Object[] args) {
		super(msg);
		this.args = args;
	}


	public BaseException(String msg, Throwable e) {
		super(msg, e);
	}

	public BaseException(String msg, Object[] args, Throwable e) {
		super(msg, e);
		this.args = args;
	}

	public Object[] getArgs() {
		return args;
	}


}
